How do I get the Universal Link to redirect to my Capacitor iOS app? SWCErrorDomain error 8

I'm running my Capacitor app on my iPad on Developer mode and I haven't been able to get the Universal Link working.

https://my-domain.com//.well-known/apple-app-site-association in browser and via curl correctly returns the file.

running sudo swcutil dl -d https://my-domain.com --verbose

returns

SWCErrorDomain 8 {
	Domain: "<_SWCDomain 0x600002c92d80> https",
	Line: "532",
	Function: "-[SWCDownloader(Private) _downloadAASAFileForDomain:applicationIdentifier:downloadRoute:discretionary:completionHandlers:]_block_invoke"
}

I made my way down through here: <https://developer.apple.com/documentation/technotes/tn3155-debugging-universal-links#Host-and-verify-your-AASA>

I continued onto the next section, but swcutil_show.txt file doesn't list my app even after uninstalling and re-deploying the app.

Any help is appreciated!

It is now showing up in swcutil_show.txt, but sudo swcutil dl -d https://my-domain.com --verbose returns the same error and manually testing links on my device doesn't navigate to the app.

Service:              applinks
App ID:               123APPID456.com.my-domain
App Version:          1.0
App PI:               <LSPersistentIdentifier 0xbd200b170> { v = 0, t = 0x8, u = 0x7ac, db = 42C6B197-DCC7-4122-BDD8-62D2806CC9D8, {length = 8, bytes = 0xac07000000000000} }
Domain:               my-domain.com
Patterns:             {"/":"/*"}
User Approval:        unspecified
Site/Fmwk Approval:   approved
Flags:                
Last Checked:         2024-03-20 14:28:43 +0000
Next Check:           2024-03-25 13:46:07 +0000

I'm experiencing the same issue. Did you find a solution?

How do I get the Universal Link to redirect to my Capacitor iOS app? SWCErrorDomain error 8
 
 
Q